﻿@using mvc.Models.Database
@{
    var newsID = ViewData["newsID"] as List<News>;
    foreach (var item in newsID)
    {
        <div id="main">
            <h1 class="detail-title">@item.Title</h1>
            <div class="post_info">
                <span>@item.Time</span>　来源: <span>@item.Source</span><br />
                <img src="@item.Img" width="65%"/>
            </div>
            <div class="post_content">@item.Text</div>
        </div>
    }
}

